{extend name="../../base/view/layout" /}
{block name="my_body"}
<div class="widgetbox box-inverse">
    <div class="widgetcontent wc1">

        <form id="form1" class="stdform" enctype="multipart/form-data" method="post" action="<?php echo url('sys/Slide/add');?>">

            <div class="tabbable">
                <ul class="nav nav-tabs buttons-icons">
                    <li class="active"><a data-toggle="tab" href="#shop_info"><?php echo $_page_title;?></a></li>
                </ul>
                <div class="tab-content">
                    <div id="shop_info" class="tab-pane active">

                        <div class="par control-group">
                            <label class="control-label" for="name">轮播图名称</label>
                            <div class="controls"><input type="text" name="name" id="name" class="input-xlarge" /></div>
                        </div>

                        <div class="par control-group">
                            <label class="control-label" for="type">分类</label>
                            <span class="field">
                            <select name="type" class="uniformselect" id="type">
                            	<option value="1">系统</option>
                            </select>
                            </span>
                        </div>


                        <div class="par control-group">
                            <label class="control-label" for="linksrc">链接地址</label>
                            <div class="controls"><input type="text" name="linksrc" id="linksrc" class="input-xlarge" /></div>
                        </div>

                        <div class="par control-group">
                            <label class="control-label" for="sort_num">排序</label>
                            <div class="controls"><input type="text" name="sort_num" id="sort_num" class="input-xlarge" value="100" /></div>
                        </div>


                        <div class="control-group par">
                            <label class="control-label" for="pic">轮播图</label>
                            <div class="controls"><input type="file" name="pic" id="pic" class="input-xlarge"  /></div>
                        </div>

                    </div><!--tab-pane-->


                </div><!--tabcontent-->
            </div><!--tabbable-->


            <p class="stdformbutton">
                <input type="submit" class="btn btn-primary" />
            </p>
        </form>
    </div><!--widgetcontent-->
</div><!--widget-->
{/block}

{block name="my_js"}
{/block}